﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="__admin_default" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
</head>
<body>
    <form id="form1" runat="server">
		<octo:FormView Caption="<%$ Resources:Main, settings_Comments %>"  runat="server">
			<octo:FormRow Label="<%$ Resources:Main, settings_CommentMode %>" runat="server">
				<octo:Select ID="commentsEnabled" runat="server">
					<octo:Option Value="Disabled" Text="<%$ Resources:Main, settings_Disabled %>" runat="server"/>
					<octo:Option Value="Registered" Text="<%$ Resources:Main, settings_Registered %>" runat="server"/>
					<octo:Option Value="Anonymous" Text="<%$ Resources:Main, settings_Anon %>" runat="server"/>
				</octo:Select>
			</octo:FormRow>
	
			<octo:FormRow ID="EditRow5" Label="<%$ Resources:Main, settings_CommentModeration %>" runat="server">
				<octo:Select ID="commentsModeration" runat="server">
					<octo:Option Value="Always" Text="<%$ Resources:Main, settings_Always %>" runat="server"/>
					<octo:Option Value="Anonymous" Text="<%$ Resources:Main, settings_Anonymous %>" runat="server"/>
					<octo:Option Value="Never" Text="<%$ Resources:Main, settings_Disabled %>" runat="server" />
				</octo:Select>
			</octo:FormRow>
	
			<octo:FormRow ID="EditRow4" Required="true" Label="<%$ Resources:Main, settings_DisableCommentsAfter %>" Description="<%$ Resources:Main, settings_Never %>" runat="server">
				<octo:InputNumber ID="disableAfter" Min="0" Required="true" runat="server" />
				<octo:Literal Text="<%$ Resources:Main, settings_Days %>" runat="server" />
			</octo:FormRow>
		</octo:FormView>

		<octo:FormView Caption="<%$ Resources:Main, settings_ResourceSettings %>" ID="EditRowSet3" runat="server">
			<octo:FormRow ID="EditRow1" Label="<%$ Resources:Main, settings_FeedMode %>" runat="server">
				<octo:Select ID="feedMode" runat="server">
					<octo:Option Value="None" Text="<%$ Resources:Main, settings_FeedDisabled %>" runat="server" />
					<octo:Option Value="Short" Text="<%$ Resources:Main, settings_FeedShort %>" runat="server"/>
					<octo:Option Value="Full" Text="<%$ Resources:Main, settings_FeedFull %>" runat="server"/>
				</octo:Select>
			</octo:FormRow>
		</octo:FormView>

		<octo:FormView Caption="<%$ Resources:Main, settings_ArticleSettings %>" ID="EditRowSet1" runat="server">
			<octo:FormRow ID="EditRow2" runat="server">
				<asp:CheckBoxList ID="articleSettings" runat="server">
					<asp:ListItem Text="<%$ Resources:Main, settings_ArticleSubtitles %>" />
					<asp:ListItem Text="<%$ Resources:Main, settings_SyndicatePosts %>" />
				</asp:CheckBoxList>
			</octo:FormRow>

			<octo:FormRow ID="FormRow1" Label="<%$ Resources:Main, settings_Toolbar %>" runat="server">
				<asp:CheckBoxList ID="articleToolbar" runat="server">
					<asp:ListItem Text="<%$ Resources:Main, settings_Bookmarks %>" />
					<asp:ListItem Text="<%$ Resources:Main, settings_SendFriend %>" />
					<asp:ListItem Text="<%$ Resources:Main, settings_Print %>" />
					<%--<asp:ListItem Text="Trackback URL" />--%>
					<asp:ListItem Text="<%$ Resources:Main, settings_CommentRss %>" />
				</asp:CheckBoxList>
			</octo:FormRow>

			<octo:FormRow runat="server">
				<octo:Submit ID="submit" OnClick="SubmitClick" runat="server" />
			</octo:FormRow>
		</octo:FormView>

		<octo:FormView Caption="<%$ Resources:Main, shared_Categories %>" runat="server">
			<octo:FormRow VerticalLayout="true" runat="server">
				 <octo:TreeView ID="categoriesTree" runat="server" />

				 <octo:MessageBox ID="emptyBox" MessageType="Info" Visible="false" runat="server">
					<octo:Literal Text="<%$ Resources:Main, settings_CategoriesNo %>" runat="server" />
				 </octo:MessageBox>
			</octo:FormRow>
		</octo:FormView>
    </form>
</body>
</html>
